package tech.aistar.design.decorator;

/**
 * 本类用来演示:
 *
 * @author: success
 * @date: 2022/7/26 9:01 上午
 */
public class TestTea {
    public static void main(String[] args) {
        Milk nai = new NaiTea();
        System.out.println(nai.getBrand()+":"+nai.getPrice());

        BuDingTea tea = new BuDingTea(new NaiTea());

        System.out.println(tea.getBrand()+":"+tea.getPrice());
    }
}
